package com.example.ctrip.dao;

import com.example.ctrip.entity.OrderTicketInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderInfoDao {

    OrderTicketInfo selectIdByOrderId(@Param("orderId") String orderId);

    int insertOrderInfo(@Param("orderTicketInfo") OrderTicketInfo orderTicketInfo);

    OrderTicketInfo selectIdByDDBH(@Param("ddbh") String ddbh);

    int updatePaydata(@Param("ddbh") String ddbh,@Param("payData") String payData,@Param("orderNo") String orderNo);
}
